package com.todo.strategy.card.iface.backend;

import com.todo.common.common.entity.response.BizPageResponse;
import com.todo.common.common.entity.response.BizResponse;
import com.todo.strategy.card.iface.backend.request.*;
import com.todo.strategy.card.iface.backend.response.QueryTravelCardContentByConditionResp;
import com.todo.strategy.card.iface.backend.response.TravelCardContentDetailResp;

/**
 * @author zhangwenxiang
 * @date 2024/3/17 14:59
 * @description
 */
public interface TravelCardContentBackendIface {

    /**
     * 多条件查询旅游卡文章
     *
     * @param req
     * @return
     */
    BizPageResponse<QueryTravelCardContentByConditionResp> queryTravelCardContentByCondition(QueryTravelCardContentByConditionReq req);

    /**
     * 新增平台旅游卡文章
     *
     * @param req
     * @return
     */
    BizResponse<Boolean> insertTravelCardContent(InsertTravelCardContentReq req);

    /**
     * 更新旅游卡文章
     *
     * @param req
     * @return
     */
    BizResponse<Boolean> updateTravelCardContentById(UpdateTravelCardContentReq req);

    /**
     * 删除旅游卡文章
     *
     * @param req
     * @return
     */
    BizResponse<Boolean> removeTravelCardContent(RemoveTravelCardContentReq req);

    /**
     * 查询旅游卡文章详情
     *
     * @param req
     * @return
     */
    BizResponse<TravelCardContentDetailResp> queryTravelCardContentById(QueryTravelCardContentByIdReq req);
}
